package dao

import (
	"server/acgnovel-go/src/entity"
	"server/acgnovel-go/src/helper"
)

func GetUser(username string) entity.Users {
	users := entity.Users{}
	helper.GetDb().Where("username=?", username).Take(&users)
	return users
}
